package com.zheng.redpacket.mdg.mapper;

import com.zheng.redpacket.mdg.model.BookRob;
import com.zheng.redpacket.mdg.model.BookStock;
import org.apache.ibatis.annotations.Param;

public interface BookStockMapper {
    BookStock selectByBookNo (@Param("bookNo") String bookNo);

    int updateStock(@Param("bookNo") String bookNo);

    int updateStockWithLock(@Param("bookNo") String bookNo);


}
